#include "CBonus.h"

CBonus::CBonus(): iType(-1), CUnit(){}

CBonus::CBonus(int inIType, CMath* inMaArea, float inFSpeedX, float inFSpeedY, int inIPower, 
	vector<ALLEGRO_BITMAP*>::const_iterator begin, vector<ALLEGRO_BITMAP*>::const_iterator end, CPoint inMaCoordinate):
iType(inIType), CUnit(inMaArea, inFSpeedX, inFSpeedY, inIPower, begin, end, inMaCoordinate){}

int CBonus::GetIType(){
	return iType;
}

void CBonus::SetIType(int inIType){
	iType = inIType;
}